<?php /*a:1:{s:56:"D:\web\www\tp5.1\public/../app/admin\view\game\show.html";i:1526567146;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>表单</title>
    <link rel="stylesheet" href="/static/frame/layui/css/layui.css">
    <link rel="stylesheet" href="/static/frame/static/css/style.css">
    <link rel="icon" href="/static/frame/static/image/code.png">
</head>
<body class="body">

<div class="system-table-1 layui-clear" style="padding-top:10px;">

<table class="layui-table">
  <tbody>
<?php foreach($info as $key=>$vo): ?> 
    <tr>
      <td><?php echo htmlentities($key); ?></td>
      <td><?php echo htmlentities($vo); ?></td>
    </tr>
<?php endforeach; ?>
  </tbody>
</table>

</div>
<!-- 通用-970*90 -->
<script src="/static/frame/layui/layui.js" charset="utf-8"></script>
<script src="/static/admin/js/comm.js" charset="utf-8"></script>
<script type="text/javascript">
layui.use(['form', 'table', 'laydate'], function() {
    var $ = layui.jquery,
        form = layui.form,
        laydate = layui.laydate,
        table = layui.table;

//日期时间范围
      laydate.render({
        elem: '#date1',
        type: 'datetime',
        range: true
      });


  //监听工具条
  table.on('tool(parse-table-demo)', function(obj){
    var id = $(this).parents('tr').find('.laytable-cell-1-account').text();
    if(obj.event === 'show'){

      layer.open({
        title: "用户详细查询",
        type: 2,
        area: ['450px', '500px'],
        fixed: false, //不固定
        maxmin: true,
        content: "<?php echo url('admin/Game/show'); ?>?id=" + id
      });

    }
  });

});
</script>



</body>
</html>